package org.orz.story.pms.api;

import org.orz.cloud.common.result.ResultDTO;
import org.orz.story.pms.api.model.dto.AccountWorkbenchListDto;
import org.orz.story.pms.api.model.vo.AccountWorkbenchListVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient(value = "pms", contextId = "workbenchClient", url="${feign-client-ip.pms:}")
public interface WorkbenchClient {

    /**
     * 查询账户工作台列表
     */
    @PostMapping("/api/workbench/getAccountWorkbenchList")
    ResultDTO<List<AccountWorkbenchListVo>> getAccountWorkbenchList(@RequestBody AccountWorkbenchListDto dto);
}
